package com.veryedu.hibernate.hbm.entity;

/**
 * Orderitems entity. @author MyEclipse Persistence Tools
 */

public class Orderitems implements java.io.Serializable {

	// Fields

	private Integer orderitemid;
	private Tickets tickets;
	private Orderinfo orderinfo;

	// Constructors

	/** default constructor */
	public Orderitems() {
	}

	/** full constructor */
	public Orderitems(Tickets tickets, Orderinfo orderinfo) {
		this.tickets = tickets;
		this.orderinfo = orderinfo;
	}

	// Property accessors

	public Integer getOrderitemid() {
		return this.orderitemid;
	}

	public void setOrderitemid(Integer orderitemid) {
		this.orderitemid = orderitemid;
	}

	public Tickets getTickets() {
		return this.tickets;
	}

	public void setTickets(Tickets tickets) {
		this.tickets = tickets;
	}

	public Orderinfo getOrderinfo() {
		return this.orderinfo;
	}

	public void setOrderinfo(Orderinfo orderinfo) {
		this.orderinfo = orderinfo;
	}

}